package com.kingyun.gpsinspection.purificationservice.facade.service.jsm;

import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.Employee;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.EntityPro;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.EntityVo;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.Ztree;

import java.util.List;

/**
 * Created by YuPeng on 2016/12/15.
 */
public interface OutEntityService {

    public List<Ztree> getEntityTree(String isOrg, String id, Employee employee)throws Exception;

    /**
     * 获取实体信息
     * @param enId 实体Id
     * @return
     */
    EntityVo getEntityByEntityId(String enId) throws Exception;


    /**
     * 获取某个生产实体的特性值
     * @param enId
     * @return
     */
    List<EntityPro> getFeaturesByEntityId(String enId);

    /**
     * @param employee 人员信息
     * @param isOrg    是否组织
     * @param orgId    组织机构Id
     * @param keyword  搜索值
     */
    List<Ztree> getEntityByEmployee(Employee employee, String isOrg, String orgId, String keyword) throws Exception ;

}
